@model AdvCMS.Models.UserModel

@{
    ViewBag.Title = "Step 2 - Setting up your first user";
    Layout = "~/Views/Shared/Admin.cshtml";
}

<!-- Validation scripts -->
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<h1>Setting up the default user</h1>      

<br />
<p>Please enter the username, password and email for your first user.</p>
@using (Html.BeginForm())
{
    @Html.ValidationSummary()
   
    <table>
    <tr>
        <td>@Html.LabelFor(model => Model.UserName):</td><td>@Html.TextBoxFor(x => x.UserName)</td>
    </tr>
    <tr>
        <td>@Html.LabelFor(model => Model.UserPassword):</td><td>@Html.TextBoxFor(x => x.UserPassword)</td>
    </tr>
    <tr>
        <td>@Html.LabelFor(model => Model.Email):</td><td>@Html.TextBoxFor(x => x.Email)</td>
    </tr>
    </table>
    <input type="submit" value="Submit" /> 
}
